package com.szkiti.myautils.dialog;

import android.content.Context;
import android.widget.Toast;
/**
 * 
 * @author WangLinkai
 *
 */
public class ToastUtils {
	
	public static void showLong(Context context, String msg) {
		Toast.makeText(context, msg, Toast.LENGTH_LONG).show();
	}
	
	public static void show(Context context, int msgResId) {
		Toast.makeText(context, context.getResources().getText(msgResId),Toast.LENGTH_LONG).show();
	}
	
	public static void showShort(Context context, String hint) {
		Toast.makeText(context, hint, Toast.LENGTH_SHORT).show();
	}
}